﻿using System;

namespace Messaging2
{
    public interface IMessage
    {
        string Topic { get; set; }
        object Value { get; set; }
        ValType ValueType { get; set; }
        ActType ActionType { get; set; }
        Exception Exception { get; set; }
        bool RequestResendCache { get; set; }

        string ToString();

        string ToString(char delimiterInfo = '|');
    }
}
